// 用来完成支付成功后的自动跳转

// 获取到要添加跳转倒计时的盒子
var second = document.getElementById('totalSecond').textContent



function redirect(){
    document.getElementById('totalSecond').textContent = --second
    console.log('当前：'+second)
    if (second == 0) 
        location.href= ''
}